<template>
  <div class="pages-wrapper">
    <div class="left">
      <el-form :model="formData" label-width="100px" :rules="rules" ref="formData">
        <el-form-item label="中心">
          <el-select v-model="formData.ctrId" placeholder="请选择">
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="部门">
          <el-select v-model="formData.ctrId" placeholder="请选择">
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="系统">
          <el-select v-model="formData.ctrId" placeholder="请选择">
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="代码库">
          <el-select v-model="formData.ctrId" placeholder="请选择">
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
            <el-option label="111" value="111"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="">
          <el-button type="primary" @click="getMap">查询</el-button>
          <el-button  @click="getMap">重置</el-button>
        </el-form-item>
      </el-form>
    </div>
    <div class="right">
      <div class="right_cen">
        <div class="cen_1">
          <div>
            <span class="cen_text" v-if="scoreInfo.scoreSum.score !==null">
              {{scoreInfo.scoreSum.score}}/
            </span>
            {{scoreInfo.scoreSum.fullScore}}
          </div>
          <span>{{scoreInfo.scoreSum.itemName}}</span>
        </div>
        <div>=</div>
        <template v-for="(item, index) in scoreInfo.scoreItem">
          <div class="cen_1" :key="index">
            <div>
              <span class="cen_text">{{item.score}}/</span>
              {{item.fullScore}}
            </div>
            <span>{{item.itemName}}</span>
          </div>
          <div class="add" :key="index + 22">+</div>
        </template>
      </div>
      <div class="right_cen1">
        <template v-for="(item, index) in  leverColorInfo">
          <div class="cen1_1" :key="index">
            <div class="cen1_btn" :style="{background: item.colorDomain}"></div>
            <span v-if="item.name === 'None'">{{item.name}}</span>
            <span v-if="item.name !== 'None'">{{item.name}}</span>
          </div>
        </template>
      </div>
      <div class="right_cen2">
        <div class="cen2_1" v-for="(item,index) in craftInfo" :key="index">
          <div class="cen2_1_text">{{item.craftName}}</div>
          <div>
            <template v-for="(it, index) in item.powerItems">
              <div class="cen2_1_btn" :key="index" @click="showItem(it)" :style="{background: it.powerItemColor}">
                {{it.powerItemName}}
              </div>
            </template>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "engineeringCapablity",
  data() {
    formData: {
      ctrId: ''
    }
  },
  methods: {
    getMap(){}
  }
}
</script>

<style scoped>

</style>
